forked from sgl-project/SpecForge
-
Notifications
You must be signed in to change notification settings - Fork 0
Merge main back to flash_attn #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
yubofredwang
wants to merge
69
commits into
modal-labs:flash_attn
from
sgl-project:duplicate-flash-attn
Closed
Merge main back to flash_attn #1
yubofredwang
wants to merge
69
commits into
modal-labs:flash_attn
from
sgl-project:duplicate-flash-attn
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* unified benchmark scripts * polish
Co-authored-by: baojiangnan <baojiangnan@kuaishou.com>
add sglang args in gen hidden states polih polish polish
* Add subset options for opc * lint & cat datasets
* fixed non-runnable examples * polish * polish
* fix missing import * fix-args-type
* added tests for scripts * added tests for scripts * polish * polish * polish * polish * polish * polish * polish * added tests for scripts * polish * polish * polish * polish * polish * polish * polish * polish * polish * polish * polish * polish * polish * polish * polish
* support more sampling params * remove recommended * some comments * lint
* Add examples of qwen3-coder-30B-A3B training script * tiny fix * Remove WANDB API key export from script to align with other examples Removed Weights & Biases configuration from script.
* support checkpoint * lint * capture only required hidden states * revert regen * fix llama * backward compatible * Update specforge/modeling/target/custom_backend/qwen3_moe.py Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * gemini suggests * fix * fix phi --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* updated benchmark docs * polish * polish
* grouped args for better reference * grouped args for better reference
* feature: optimize online training use hf backend less GPU memory polish polish * polish
* added model-download-dir * polish
* add missing * Update specforge/modeling/target/custom_backend/qwen3_moe.py Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* fixed kv head replication in qwen3 moe * poliosh * poliosh
* docs:add benchmark refer polish polish * polish
* optimized sglang backend memory usage * poliosh
…ng (#378) * feat: add training support for DeepSeek-v3 EAGLE-3 speculative decoding Co-authored-by: GeLee-Q <865038696@qq.com> Co-authored-by: Gao016 <yngao016@163.com> Co-authored-by: yzlnew <yzlnew@gmail.com> * fix: correct values in deepseek-v3-671b-eagle3.json Co-authored-by: GeLee-Q <865038696@qq.com> Co-authored-by: Gao016 <yngao016@163.com> Co-authored-by: yzlnew <yzlnew@gmail.com> * chore: update examples and templates for DeepSeek-V3 EAGLE-3 --------- Co-authored-by: chenyefei.cyf <chenyefei.cyf@U-9V5T77LW-2356.local> Co-authored-by: GeLee-Q <865038696@qq.com> Co-authored-by: Gao016 <yngao016@163.com> Co-authored-by: yzlnew <yzlnew@gmail.com>
* supoort thinking models update kimi-k2 and deepssek polish fix lint fix kimi-k2 and gpt-oss fix lint * update parse to handle the Boundary token --------- Co-authored-by: Shenggui Li <somerlee.9@gmail.com>
* add ds v3 * init * modify sglang fit deepseek * fix deepseek rparser * ulysses finish * ring offline finish * tmp * test pass * test fail * test * clean up * remove deepseek * clean up * clean up * - * - * format * fix unit test --------- Co-authored-by: Yu Feng <fengyufengyu@didiglobal.com> Co-authored-by: daiyajun <daiyajun@didiglobal.com>
* fixed templates * polish
* feat: make dataloader num_workers configurable and fix prefetch_factor issue 1. scripts/train_eagle3.py: - Added argument (default: 4) to replace the hardcoded value. - This allows adjusting worker count for low shared memory environments or debugging. 2. specforge/data/utils.py: - Fixed when is 0 by forcing to None. * Fix: add num_workers argument and fix dataloader bug --------- Co-authored-by: yeshihai <yeshihai@MBP-LX22VD4VGG-2240.local>
* added regenerated datasets * polish
6 tasks
Add --no-build-isolation flag to pip install command
Removed duplicate test run commands and unnecessary ls statements.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
Fix conflict so sgl-project#314 can be merged
Modifications
Related Issues
Accuracy Test
Benchmark & Profiling
Checklist